﻿ 
namespace Core.Items.Modules
{
    /*

		MetaGroup                      = IndustrialModules
		Group                          = HarvesterModules
		Size                           = Medium
		Module                         = cultivator-xm medium harvester prototype
		CpuUsage                       = 49.00 TF
		ReactorUsage                   = 145.00 RP
		Type                           = Active
		Slot                           = Industrial
		TechnologicalLevel             = T3P
		Mass                           = 750.00 kg
		PackedVolume                   = 0.75 U
		Volume                         = 1.50 U
		AccumulatorConsumption         = 80.00 AP
		CycleTime                      = 11.00 sec
		OptimalRange                   = 30 m
		AmmoChargeType                 = Harvester charges
		AmmoChargeCapacity             = 55 pcs
    */

    using System;
    using Base;
    using Contracts.Enums;
    using Contracts.Interfaces;
    using Extensions;
    using Features;
    
    /// <summary>
    /// Cultivator-XM medium harvester prototype module class
    /// </summary>
    /// <remarks>File generated on 31/10/2011 16:00:55</remarks>
    public sealed class CultivatorXmMediumHarvesterPrototype : ModuleBase
    {
        /// <summary>
        /// Create a new instance of the <see cref="CultivatorXmMediumHarvesterPrototype"/> class.
        /// </summary>
        public CultivatorXmMediumHarvesterPrototype()
            : base(
            "Cultivator-XM medium harvester prototype",
            "",
            ModuleMetaGroupsEnum.Industrial,
            ModuleGroupsEnum.HarvesterModules,
            TechnologyLevelsEnum.Level3|TechnologyLevelsEnum.Prototype,
            SizesEnum.Medium,
            new LazyFeature[] { 
				new LazyFeature(typeof(CpuUsage<double>),49.00),
				new LazyFeature(typeof(ReactorUsage<double>),145.00),
				new LazyFeature(typeof(ModuleMass<double>),750.00),
				new LazyFeature(typeof(AccumulatorUsage<double>),80.00),
				new LazyFeature(typeof(HarvesterCycleTime<double>),11.00),
				new LazyFeature(typeof(HarvesterOptimal<double>),30),
				new LazyFeature(typeof(AmmunitionType<AmmunitionTypesEnum>),AmmunitionTypesEnum.HarvesterCharges),
				new LazyFeature(typeof(AmmoCapacity<double>),55), },
            null,
            new IModifier[] { 
				new Modifier( FeatureTypesEnum.Robot, FeaturesEnum.RobotMass, 750.00 ){ IsVisible = false }, } )
        {
        }

        /// <summary>
        /// Obtains the activation type
        /// </summary>
        public override ModuleActivationTypesEnum ActivationType
        {
            get { return ModuleActivationTypesEnum.Active; }
        }
        /// <summary>
        /// Obtains the module slot group 
        /// </summary>
        public override SlotGroupsEnum SlotGroup
        {
            get { return SlotGroupsEnum.Chassis; }
        }
        /// <summary>
        /// Obtains the module slot type 
        /// </summary>
        public override SlotTypesEnum SlotType
        {
            get { return SlotTypesEnum.Industrial; }
        }
    }
}